package com.init.iblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.init.iblog.domain.ResponseResult;
import com.init.iblog.domain.dto.CategoryDto;
import com.init.iblog.domain.entity.Category;
import com.init.iblog.domain.vo.CategoryVo;
import com.init.iblog.domain.vo.PageVo;

import java.util.List;


/**
 * (Category)表服务接口
 *
 * @author makejava
 * @since 2023-02-18 11:09:53
 */
public interface CategoryService extends IService<Category> {

    ResponseResult getCategoryList();

    List<CategoryVo> listAllCategory();

    ResponseResult<PageVo> pageCategoryList(Integer pageNum, Integer pageSize, CategoryDto categoryDto);

    ResponseResult addCategory(Category category);

    ResponseResult updateCategory(Category category);

    ResponseResult deleteCategory(List<Long> id);
}

